package com.thinkTank.oa.entity;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/***
 * 
 * @author xyx
 * @date 2018-08-09
 * 客户表
 *
 */
public class Customer implements Serializable{
	private static final long serialVersionUID = 1L;
	//唯一标识
	private String pid;
	//客户Id
	private Integer customerNumber;
	//客户来源
	@NotNull(message="客户来源不能为空")
	private Integer customerSource;
	
	private String customerSourceName;
	
	//客户类型
	@NotNull(message="客户类型不能为空")
	private Integer customerType;
	
	private String customerTypeName;
	//收集人
	private String collectPersonId;
	
	//收集人（展示用）
	private String collectPersonName;
		
	//收集时间
	private String entryTime;
	//所属领域
	@NotEmpty(message="所属领域不能为空")
	private String researchField;
	
	//展示用
	private String researchFieldNameStr;
	//所在地区
	@NotEmpty(message="所在地区不能为空")
	private String area;
	
	/**
	 * 0国内 1国外
	 */
	@NotNull(message="国籍不能为空")
	private Integer domesticOrForeign; 
	
	//展示用
	private String areaNameStr;
	
	//展示用
	private String[] notInCustomerIds;
		
	//客户名称
	@NotEmpty(message="客户名称不能为空")
	private String customerName;
	//客户性质
	@NotNull(message="客户性质不能为空")
	private Integer customerNature;
	
	//展示数据用
	private String customerNatureName;
	//不用于数据库操作
    private Integer researchFieldNumber;
	//主营业务
	private String mainBusiness;
	//主要需求
	private String majorNeeds;
	
	// 活动总结附件
	private String customerFile;
	
	//最新进展
	private String evolve;
	
	//历史合作状态
	private String historywork;
		
	//意向合作方式2
	private Integer intentionCooperate;
	
	private String intentionCooperateName;
	
	//意向合作方式1
	private Integer intentionCooperate2;
	
	private String intentionCooperate2Name;
	
	//当前合作状态
	private Integer currentState;
	
	private String currentStateName;
	
	//联系人
	private String customerContact;
	
	private String customerContactName;
	
	//更新时间
	private String updateTime;
	
	//备注1
	private String remark1;
	//备注2
	private String remark2;
	//备注3
	private String remark3;
	//备注4
	private String remark4;
	//备注5
	private String remark5;
	private Integer researchFieldInteger;
	
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	
	public String getCollectPersonId() {
		return collectPersonId;
	}
	public void setCollectPersonId(String collectPersonId) {
		this.collectPersonId = collectPersonId;
	}
	public String getEntryTime() {
		return entryTime;
	}
	public void setEntryTime(String entryTime) {
		this.entryTime = entryTime;
	}
	public String getResearchField() {
		return researchField;
	}
	public void setResearchField(String researchField) {
		this.researchField = researchField;
	}
	
	
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	
	public Integer getCustomerSource() {
		return customerSource;
	}
	public void setCustomerSource(Integer customerSource) {
		this.customerSource = customerSource;
	}
	public Integer getCustomerType() {
		return customerType;
	}
	public void setCustomerType(Integer customerType) {
		this.customerType = customerType;
	}
	public Integer getCustomerNature() {
		return customerNature;
	}
	public void setCustomerNature(Integer customerNature) {
		this.customerNature = customerNature;
	}
	public Integer getIntentionCooperate() {
		return intentionCooperate;
	}
	public void setIntentionCooperate(Integer intentionCooperate) {
		this.intentionCooperate = intentionCooperate;
	}
	public Integer getCurrentState() {
		return currentState;
	}
	public void setCurrentState(Integer currentState) {
		this.currentState = currentState;
	}
	public String getMainBusiness() {
		return mainBusiness;
	}
	public void setMainBusiness(String mainBusiness) {
		this.mainBusiness = mainBusiness;
	}
	public String getMajorNeeds() {
		return majorNeeds;
	}
	public void setMajorNeeds(String majorNeeds) {
		this.majorNeeds = majorNeeds;
	}
	
	public String getCustomerContact() {
		return customerContact;
	}
	public void setCustomerContact(String customerContact) {
		this.customerContact = customerContact;
	}
	public String getRemark1() {
		return remark1;
	}
	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}
	public String getRemark2() {
		return remark2;
	}
	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}
	public String getRemark3() {
		return remark3;
	}
	public void setRemark3(String remark3) {
		this.remark3 = remark3;
	}
	public String getRemark4() {
		return remark4;
	}
	public void setRemark4(String remark4) {
		this.remark4 = remark4;
	}
	public String getRemark5() {
		return remark5;
	}
	public void setRemark5(String remark5) {
		this.remark5 = remark5;
	}
	public Integer getCustomerNumber() {
		return customerNumber;
	}
	public void setCustomerNumber(Integer customerNumber) {
		this.customerNumber = customerNumber;
	}
	public String getCustomerNatureName() {
		return customerNatureName;
	}
	public void setCustomerNatureName(String customerNatureName) {
		this.customerNatureName = customerNatureName;
	}
	public String getCurrentStateName() {
		return currentStateName;
	}
	public void setCurrentStateName(String currentStateName) {
		this.currentStateName = currentStateName;
	}
	
	
	public String getResearchFieldNameStr() {
		return researchFieldNameStr;
	}
	public void setResearchFieldNameStr(String researchFieldNameStr) {
		this.researchFieldNameStr = researchFieldNameStr;
	}
	public String getAreaNameStr() {
		return areaNameStr;
	}
	public void setAreaNameStr(String areaNameStr) {
		this.areaNameStr = areaNameStr;
	}
	public Integer getResearchFieldNumber() {
		return researchFieldNumber;
	}
	public void setResearchFieldNumber(Integer researchFieldNumber) {
		this.researchFieldNumber = researchFieldNumber;
	}
    public Integer getResearchFieldInteger() {
        return researchFieldInteger;
    }
    public void setResearchFieldInteger(Integer researchFieldInteger) {
        this.researchFieldInteger = researchFieldInteger;
    }
	public Integer getDomesticOrForeign() {
		return domesticOrForeign;
	}
	public void setDomesticOrForeign(Integer domesticOrForeign) {
		this.domesticOrForeign = domesticOrForeign;
	}
	public String[] getNotInCustomerIds() {
		return notInCustomerIds;
	}
	public void setNotInCustomerIds(String[] notInCustomerIds) {
		this.notInCustomerIds = notInCustomerIds;
	}
	public Integer getIntentionCooperate2() {
		return intentionCooperate2;
	}
	public void setIntentionCooperate2(Integer intentionCooperate2) {
		this.intentionCooperate2 = intentionCooperate2;
	}
	public String getCustomerSourceName() {
		return customerSourceName;
	}
	public void setCustomerSourceName(String customerSourceName) {
		this.customerSourceName = customerSourceName;
	}
	public String getCustomerTypeName() {
		return customerTypeName;
	}
	public void setCustomerTypeName(String customerTypeName) {
		this.customerTypeName = customerTypeName;
	}
	public String getCustomerContactName() {
		return customerContactName;
	}
	public void setCustomerContactName(String customerContactName) {
		this.customerContactName = customerContactName;
	}
	public String getIntentionCooperateName() {
		return intentionCooperateName;
	}
	public void setIntentionCooperateName(String intentionCooperateName) {
		this.intentionCooperateName = intentionCooperateName;
	}
	public String getIntentionCooperate2Name() {
		return intentionCooperate2Name;
	}
	public void setIntentionCooperate2Name(String intentionCooperate2Name) {
		this.intentionCooperate2Name = intentionCooperate2Name;
	}
	public String getCustomerFile() {
		return customerFile;
	}
	public void setCustomerFile(String customerFile) {
		this.customerFile = customerFile;
	}
	public String getEvolve() {
		return evolve;
	}
	public void setEvolve(String evolve) {
		this.evolve = evolve;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public String getHistorywork() {
		return historywork;
	}
	public void setHistorywork(String historywork) {
		this.historywork = historywork;
	}
	public String getCollectPersonName() {
		return collectPersonName;
	}
	public void setCollectPersonName(String collectPersonName) {
		this.collectPersonName = collectPersonName;
	}
}
